<%@ page language="java"  import="Bean.*,java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
 <!-- 引入 Bootstrap -->
      <link href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
 
      <!-- HTML5 Shim 和 Respond.js 用于让 IE8 支持 HTML5元素和媒体查询 -->
      <!-- 注意： 如果通过 file://  引入 Respond.js 文件，则该文件无法起效果 -->
      <!--[if lt IE 9]>
         <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
         <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
      <![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
<body background="001.jpg">
 
<div class="container" >
		<h3 class="text-center">欢迎教师登录考试系统</h3><br>
		<div class="tabbable" id="tabs-28077">
								   <ul class="nav nav-tabs">
									<li>
										 <a href="../teacher/qk.jsp" data-toggle="tab">学生练习次数</a>
									</li>
                                    <li class="active">
										 <a href="../teacher/score.jsp" data-toggle="tab">学生练习分数</a>
									</li>
									<li>
										 <a href="../teacher/qdb.jsp" data-toggle="tab">操作题库</a>
									</li>
                                    <li >
										 <a href="../teacher/grant.jsp" data-toggle="tab">申请操作</a>
									</li>
								</ul>
			<div class="tab-content">
									<div class="tab-pane active" id="panel-312119">
										<p><br>
											<h4>查询各班级学生各章节测试的分数 导出测试分数表</h4><br><br>
										</p>
									</div>
                <div class="span12">
				  <table width="100%" border="1" cellspacing="0" cellpadding="0">
				    <tr>
				      <td>序号</td>
				      <td>学生学号</td>
				      <td>姓名</td>
				      <td>章节</td>
		              <td>分数</td>
		              <td>时间日期</td>
				      </tr>
				      
		            
		           <% ArrayList<Testcore> list = Testcore.findTestcore();
					 for (Testcore testcore : list) {
				   %>
				
				<tr >
				<td>&nbsp;</td>
				<td class="success"><% out.print(testcore.getSno());%></td>
				<td class="error"><% out.print(testcore.getSname());%></td>
				<td class="warning"><%out.print(testcore.getZhangjie()); %></td>
				<td class="info"><%out.print(testcore.getScore());%></td>
				<td class="success"><% out.print(testcore.getCompeledtime());%></td>
				</tr>
				<%	
					
				}%>				
		           
				    </table>
				   
			</div>	  
		</div>
	</div>				
</div>
<!-- jQuery (Bootstrap 的 JavaScript 插件需要引入 jQuery) -->
      <script src="https://code.jquery.com/jquery.js"></script>
      <!-- 包括所有已编译的插件 -->
      <script src="js/bootstrap.min.js"></script>
</body>
</html>